﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Linq;

using ProjectBase.Core;

namespace $safeprojectname$
{
    /// <summary>
    /// IField base interface.
    /// </summary>
    public interface IField : IPersistentObjectWithTypedId<int>
    {
        string PropertyName { get; set; }
        string ColumnName { get; set; }
        string TableName { get; set; }
        string DisplayName { get; set; }

        string DataType { get; set; }
        string SubType { get; }

        Type Type { get; set; }

        int? Length { get; set; }

        bool IsRequired { get; set; }
        bool IsUnique { get; set; }
        bool IsStatic { get; set; }

        string MinValue { get; set; }
        string MaxValue { get; set; }
    }
}